<?php
    include('xcrud.php');
    $xcrud = Xcrud::get_instance();
    $xcrud->table('maklumat_kursus');
	$xcrud->columns('gred,tempoh_perkhidmatan,scdp,skim');
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta charset="utf-8" />
	<link rel="icon" type="image/png" href="favicon.ico" />
	<link rel="apple-touch-icon" href="touch-icon.png" />
	
	<title>Maklumat Kursus</title>
	
	<!--== BEGIN STYLES ==-->
	<link rel="stylesheet" href="css/config.css" />
	<!--[if IE 7]> <link rel="stylesheet" href="css/ie7.css" /> <![endif]-->
	<!--[if IE 8]> <link rel="stylesheet" href="css/ie8.css" /> <![endif]-->
	<!--[if IE 9]> <link rel="stylesheet" href="css/ie9.css" /> <![endif]-->
		
	<!--== BEGIN SCRIPTS ==-->
	<script type="text/javascript" src="js/jquery.js"></script><!--JQuery Library-->
	<script type="text/javascript" src="js/jquery.preloadify.js"></script><!--Preloadify-->
	<script type="text/javascript" src="js/scripts-top.js"></script><!--General scripts header-->
	
	<!--[if IE]> <script type="text/javascript" src="js/html5.js"></script> <![endif]-->
	
	<!-- SWitcher -->
	<link rel="stylesheet" href="QSswitcher/switcher.css" />
	
</head>
<body>
<section id="main_template" class="layout_boxed clearfix">
<!-- ============================================================================================
**************************************** HEADER SECTION *****************************************
============================================================================================= -->
<section class="container_header clearfix">
	<div class="container_12 clearfix">
	
		<div class="grid_12 head_part clearfix">
			<?php require('logo.php'); ?>			
			<div class="pull-right hp_bg head_search clearfix">
				<form method="get" id="searchform" action="#">
					<input type="text" class="field" name="s" id="s" placeholder="Search" />
					<input type="submit" class="submit" name="submit" id="searchsubmit" value="" />
				</form>
			</div>
			
		</div><!-- End / .cleafix -->
		
		<div class="clear"></div>
		
	</div><!-- end / .container_12 -->
	
	<?php require('menu.php'); ?><!-- end / .main_menu_place -->	
	
</section><!-- end / .container_header -->


<!-- NULL SECTION
============================================================================================= -->
<section class="container_null">
	<div class="container_12 clearfix">
		<div class="grid_12 page_title clearfix">
			<h1 class="pull-left">Maklumat Kursus</h1>
		</div>
	</div><!-- end / .container_12 -->
</section><!-- end / .container_header -->


<!-- ============================================================================================
**************************************** MIDDLE SECTION *****************************************
============================================================================================= -->
<section class="container_middle clearfix">
	<div class="container_12 clearfix">
		<div class="table table-bordered table-hover">
			<p><?php echo $xcrud->render(); ?></p>
			</div><!-- end / .container_12 -->
</section><!-- end / .container_middle -->
<?php require('footer.php'); ?>
</section><!-- end / #main_template -->
<script type="text/javascript" src="js/bootstrap.js"></script><!--BootStrap-->
<script type="text/javascript" src="js/jquery.plugins.js"></script><!--Plugins-->
<script type="text/javascript" src="js/prettyphoto/js/jquery.prettyPhoto.js"></script><!--Plugins-->
<script type="text/javascript" src="js/mediaelement/lib/mediaelement.js"></script>
<script type="text/javascript" src="js/mediaelement/lib/mediaelementplayer.js"></script>
<script type="text/javascript" src="../../../../maps.google.com/maps/api/js@sensor=false"></script><!-- Google Map API -->
<script type="text/javascript" src="js/gmap3.min.js"></script><!--Google map plugin-->
<script type="text/javascript" src="js/gmap.init.js"></script><!--Google map init-->
<script type="text/javascript" src="js/scripts-bottom.js"></script><!--Scripts-->
<script type="text/javascript" src="js/demo-scripts.js"></script><!--Demo-->

<!-- SWitcher -->
<script type="text/javascript" src="QSswitcher/switcher.js"></script>
</body>
</html>